package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: experienceTicket 
* @Description: 体验券（二期）定义表
* @author eason
* @date 2016-11-03 17:26:41
*
 */
@Entity
@Table(name = "tb_xa_experienceticket")
@ApiModel(value="体验券（二期）定义表")
public class ExperienceTicket extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="体验券名称,体验券名称")
	private String name;
	@ApiModelProperty(value="体验券图片,体验券图片")
	private String img;
	@ApiModelProperty(value="有效期(yyyy-MM-dd),有效期(yyyy-MM-dd)")
	private String expirationDate;
	@ApiModelProperty(value="库存,剩余的张数")
	private Long stock;
	@ApiModelProperty(value="备注,备注")
	private String memo;
	
	public void setName(String name){
		this.name=name;
	}
	
	@Column(nullable=true,length=80)
	public String getName(){
		return name;
	}
	public void setImg(String img){
		this.img=img;
	}
	
	@Column(nullable=true,length=500)
	public String getImg(){
		return img;
	}
	public void setExpirationDate(String expirationDate){
		this.expirationDate=expirationDate;
	}
	
	@Column(nullable=true,length=50)
	public String getExpirationDate(){
		return expirationDate;
	}
	public void setStock(Long stock){
		this.stock=stock;
	}
	
	@Column(nullable=true,length=50)
	public Long getStock(){
		return stock;
	}
	public void setMemo(String memo){
		this.memo=memo;
	}
	
	@Column(nullable=true,length=50)
	public String getMemo(){
		return memo;
	}
		

}
